All Packages Class Hierarchy This Package Previous Next Index
Class quicktime.std.clocks.RateCallBack
java.lang.Object
|
+----quicktime.QTObject
|
+----quicktime.std.clocks.QTCallBack
|
+----quicktime.std.clocks.RateCallBack
- public abstract class RateCallBack
- extends QTCallBack
Provides scheduled operations with time base time rate changes.
-
flags
- Determines when the callback will be called.
-
rate
- Determines the rate that is used in the callback.
-
RateCallBack(TimeBase, float, int)
- Creates a new callback event that will invoke its Callback object when the rate of the
specified timebase reaches a certain value.
-
callMeWhen()
- Makes the callback active.
-
toString()
- String representation of this class.
rate
public float rate
- Determines the rate that is used in the callback. Default is 1.0.
flags
public int flags
- Determines when the callback will be called.
RateCallBack
public RateCallBack(TimeBase tb,
float rate,
int flags) throws QTException
- Creates a new callback event that will invoke its Callback object when the rate of the
specified timebase reaches a certain value.
The callback is not active until you schedule it by calling the callMeWhen method.
QuickTime::NewCallBack()
- Parameters:
- tb - the time base that the callback is attached too.
- rate - the specified rate which will invoke the Callback
- flags - the conditions under which the Callback will be executed
callMeWhen
public final void callMeWhen() throws StdQTException
- Makes the callback active.
The rate value should be set before this method is called.
QuickTime::CallMeWhen
- Overrides:
- callMeWhen in class QTCallBack
toString
public String toString()
- String representation of this class.
- Overrides:
- toString in class QTObject
All Packages Class Hierarchy This Package Previous Next Index